home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-02 | 2.1 KB | 116 lines |
- #!smake
- include /usr/include/make/commondefs
- #
- # To make this program, you must have installed :
- # ViewKit_dev
- # c++_dev
- # c_dev
- # compiler_dev
- # dev
- # dmedia_dev
- # gl_dev
- # motif_dev
- # x_dev
- #
- # dps_dev (optional)
- # quicktime_dev (optional)
- #
- # This makefile interogates various environment variables
- # to determine what to build. If they are changed, you
- # must 'make clobber' before making again.
- #
- # QT
- # enables the use of Quicktime movie formats.
- # This variable should be set if quicktime_dev
- # is on the system.
- #
- # DPS
- # enables the use of Display Postscript for putting
- # time and date stamps on the movie images.
- # This varialbe shoudl be set if dps_dev is installed
- # on the system.
- #
- # DEBUG
- # compiles with debug enabled.
- #
- #
- #TARGETS = security security.z
- TARGETS = security
-
- C++FILES = main.C \
- pref.C \
- startStop.C \
- compressPanel.C \
- security.C \
- video.C \
- monitor.C \
- movie.C \
- audio.C \
- ${NULL}
-
- QT ?= no
- #if $(QT) == "no"
- LIBQT =
- QTDEFS = -UQT
- #else
- LIBQT = -lqt
- QTDEFS = -DQT
- #endif
-
- DPS ?= no
- #if $(DPS) == "no"
- DPSDEFS = -UDPS
- DPSLIBS =
- #else
- CFILES = title.c titleWraps.c
- DPSDEFS = -DDPS
- DPSLIBS = -ldpstk -ldps
- #endif
-
- DEBUG ?= no_debug
- #if $(DEBUG) == "no_debug"
- DEBUGDEFS = -UDEBUG
- OPTIMIZER = -O0
- DBG =
- #else
- DEBUGDEFS = -DDEBUG
- OPTIMIZER = -g
- DBG = _d
- DBG =
- #endif
-
- MIPS2 =
- LD_QUICKSTART_INFO =
- MEDIALIBS = -lmovie -ldmedia ${LIBQT} -laudio -lcl -lawareaudio
- VLIBS = -lvl
- VKLIBS = -lvk${DBG} -lvkmsg${DBG} -lXpm -lvkhelp${DBG} -lSgm
- XLIBS = ${DPSLIBS} -lXm -lXt -lX11
-
- GLDLIBS = -lgen -lgl -lm -lC
- LDIRT = security.mv
- LLDOPTS = ${MIPS2}
- LLDLIBS = ${VKLIBS} ${MEDIALIBS} ${VLIBS} ${XLIBS}
- LC++OPTS = +a1 +w +p -float -Wf,-XN17500 ${MIPS2}
- LC++DEFS = ${DEBUGDEFS} ${QTDEFS} ${DPSDEFS} ${SAVERDEFS}
- LCDEFS = ${DEBUGDEFS}
- LCOPTS = ${MIPS2}
-
- default all::
- @${MAKE} targets
-
- targets: ${TARGETS}
-
- include ${COMMONRULES}
- ${OBJECTS}: ${C++}
-
- titleWraps.o: titleWraps.psw
- pswrap -o titleWraps.c titleWraps.psw
- ${CCF} -c titleWraps.c
- rm -rf titleWraps.c
-
- security: ${OBJECTS} ${C++} Makefile
- ${C++F} ${OBJECTS} ${LDFLAGS} -o $@
-
- #security.z: security.1
- # man -d security.1 >> security.z
-